package com.aaa.javaweb.dao.impl;

import com.aaa.javaweb.dao.RoomDao;
import com.aaa.javaweb.until.JDBCUntil;

import java.util.List;
import java.util.Map;

public class RoomDaoImpl implements RoomDao {
    @Override
    public List<Map> selroom() {
        String sql="select id,tname from t_type";
        return JDBCUntil.selectMap(sql);
    }
}
